home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
Tutorial
/
Cookbook
/
14.pie_matrix
/
PieView.h
< prev
next >
Wrap
Text File
|
1995-06-12
|
735b
|
37 lines
/* Generated by Interface Builder */
#import <appkit/View.h>
#import <appkit/Slider.h>
#define MAX_SLICES 100
#define MAX_CHARS_PER_LABEL 60
#define MAX_CHARS_PER_LINE 100
@interface PieView:View
{
id myFont;
id valueMatrix;
id labelMatrix;
id openReq; // OpenPanel for open requests
float pieFontSize;
float pieSize;
int nSlices;
float gray[MAX_SLICES];
float myFloat[MAX_SLICES];
char myLabel[MAX_SLICES][MAX_CHARS_PER_LABEL];
}
+ newFrame:(const NXRect *)tF;
- setValueMatrix:anObject;
- setLabelMatrix:anObject;
- getnSlices:sender;
- getPieSize:sender;
- getPieFontSize:sender;
- getValue:sender;
- getLabel:sender;
- openRequest:sender;
-(int) openFile:(const char *)fileName;
@end